<?php
/*	$pnow = intval(@$_POST['pnow']);
	$user_stat = @$_POST['user_stat'];

	$psize = 10;	//设置每页显示多少条

	$where = array(); 
	if(@$_POST['uid'] || $user_stat == 'all'){
		$sess_name = 'After_Get_Before_User_List';
		if($user_stat != 'all'){
			array_push($where,array('user_id',$_POST['uid'],'='));
			$pnow = 1;
		}
		$table_name = 'bmxx8_user';
		$primary_key = 'user_id';
		$query_field = 'user_id,user_name,user_ctime,user_ltime,user_stat';
		$ignore = '';
		$max_page = 10;
		$desc = 'desc';
		$cache_path = '';
		$pdo = MyPdo::init();
		//dump($_POST,1);
		Get_Data_For_Fpage_Infinite_b($pdo,$pnow,$sess_name,$table_name,$primary_key,$where,$desc,$psize,$ignore,$max_page,$cache_path,$query_field);
	}else{
		$sess_name = 'After_Get_Before_User_List'.$user_stat;
		$primary_key = 'id';
		$query_field = 'uid';
		switch($user_stat){
			case '1':
			case 1:
				$table_name = 'bmxx8_user_normal';break;
			case '2':
			case 2:
				$table_name = 'bmxx8_user_close';break;
		}
		//dump($where,1);
		$ignore = '';
		$max_page = 10;
		$desc = 'desc';
		$cache_path = '';
		$pdo = MyPdo::init();
		//dump($_POST,1);
		$res = Get_Data_For_Fpage_Infinite_b($pdo,$pnow,$sess_name,$table_name,$primary_key,$where,$desc,$psize,$ignore,$max_page,$cache_path,$query_field,1);
	//	echo $res;
		$res2 = json_decode($res,1);
		$data = $res2['data'];
		$ids_str = '';
		foreach($data as $v){
			$ids_str .= $v['uid'].',';
		}
		$ids_str = trim($ids_str,',');	//获取到id 串
		if($ids_str){
			$sql3 = "select user_id,user_name,user_ctime,user_ltime,user_stat from bmxx8_user where user_id in ({$ids_str})";
			$res3 = $pdo->dql($sql3,array());
			$res2['data'] = $res3;
			echo json_encode($res2);
		}
	}*/



/*	$where = array(); 
	if(@$_POST['uid']){
		array_push($where,array('user_id',$_POST['uid'],'='));
		$sess_name = 'After_Get_Before_User_List';
		$pnow = 1;
	}else{
		$pnow = intval($_POST['pnow']);
		$user_stat = $_POST['user_stat'];
		if($user_stat != 'all'){
			array_push($where,array('user_stat',$user_stat,'='));
		}
		$sess_name = 'After_Get_Before_User_List' + $user_stat;
	}
	//dump($where,1);
	$ignore = '';
	$max_page = 10;
	$desc = 'desc';
	$cache_path = '';
	$pdo = MyPdo::init();
	$query_field = 'user_id,user_name,user_ctime,user_ltime,user_stat';
	//dump($_POST,1);
	$res = Get_Data_For_Fpage_Infinite_b($pdo,$pnow,$sess_name,'bmxx8_user','user_id',$where,$desc,5,$ignore,$max_page,$cache_path,$query_field,1);

	echo $res;*/